const JointInspectionRouter = {
  path: '/jointInspection',
  component: () => import('@/views/JointInspection/index.vue'),
  redirect: 'jointInspection/index',
  name: 'jointInspection',
  children: [ 
    {
      // 首页
      path: 'index',
      component: () => import('@/views/JointInspection/modules/index/index.vue'),
      name: 'jointInspectionindex',
    },
    {
      path: 'substationoverview',
      component: () => import('@/views/JointInspection/modules/SubstationOverview/index.vue'),
      name: 'substationoverview',
    },
    {
      // 巡检计划
      path: 'plan',
      component: () => import('@/views/JointInspection/modules/Plan/index.vue'),
      name: 'plan',
    }, 
    {
      // 巡检报告
      path: 'inspectionreport',
      component: () => import('@/views/JointInspection/modules/InspectionReport/index.vue'),
      name: 'inspectionreport',
    }, 
    {
      // 对比分析
      path: 'analyzingResultsInspection',
      component: () => import('@/views/JointInspection/modules/analyzingResultsInspection/index.vue'),
      name: 'analyzingResultsInspection',
    },
    {
      path: 'calenderdetails',
      component: () => import('@/views/JointInspection/modules/CalenderDetails/index.vue'),
      name: 'calenderdetails',
    }, 
    {
      // 任务管理
      path: 'task',
      component: () => import('@/views/JointInspection/modules/Task/index.vue'),
      name: 'task',
    },
    {
      // 巡检点位管理
      path: 'posimanagement',
      component: () => import('@/views/JointInspection/modules/Posimanagement/index.vue'),
      name: 'posimanagement',
    }, 
    {
      // 巡视卡管理
      path: 'cardmanagement',
      component: () => import('@/views/JointInspection/modules/Cardmanagement/index.vue'),
      name: 'cardmanagement',
    }, 
    {
      // 机器人调配
      path: 'robotdeployment',
      component: () => import('@/views/JointInspection/modules/Robotdeployment/index.vue'),
      name: 'robotdeployment',
    }, 
    {
      // 异常总览（首页点击左下角异常统计数字跳转）
      path: 'abnormalstatistics',
      component: () => import('@/views/JointInspection/modules/AbnormalStatistics/index.vue'),
      name: 'abnormalstatistics',
    }, 
    {
      path: 'inspectionmonitor',
      component: () => import('@/views/JointInspection/modules/InspectionMonitor/index.vue'),
      name: 'inspectionmonitor',
    },
    // {
    //   path: 'inspectiondevice',
    //   component: () => import('@/views/JointInspection/modules/InspectionDevice/index.vue'),
    //   name: 'inspectiondevice',
    // }, 
    {
      // 缺陷管理
      path: 'defectmanagement',
      component: () => import('@/views/JointInspection/modules/DefectManagement/index.vue'),
      name: 'defectmanagement',
    }, 
    {
      // 巡检结果（首页点击变电站柱图跳转）
      path: 'inspectionresult',
      component: () => import('@/views/JointInspection/modules/InspectionResult/index.vue'),
      name: 'inspectionresult',
    }, 
    {
      path: 'inspectiontype',
      component: () => import('@/views/JointInspection/modules/InspectionType/index.vue'),
      name: 'inspectiontype',
    },
    {
      // 变电站覆盖详情(点击首页变电站覆盖情况信息跳转的详情页面)
      path: 'stationdetail',
      component: () => import('@/views/JointInspection/modules/Stationdetail/index.vue'),
      name: 'stationdetail',
    }, 
    {
      //跟踪和分计划查看的子计划页面
      path: 'track',
      component: () => import('@/views/JointInspection/modules/Track/index.vue'),
      name: 'track',
    }, 
  ]
};

export default JointInspectionRouter;